
<link type="text/css" href="inc/rl.css" rel="stylesheet">

<form id="form_add">
<input type="hidden" name="id" value="{[$result.id]}" />
<fieldset>
<legend>群发条件</legend>
  <table>
    <tr>
		<td width="20%" align="right">邮件地址：</td>
		<td width="35%"><input type="text" name="email" id="email" value="" size="16"></td>
		<td width="20%" align="right">未发送：</td>
		<td width="25%"><select name='day'>
      {[html_options options=$day_option selected=3]}
      </select></td>
	</tr>
	<tr>
		<td align="right">创建时间：</td>
		<td><input type="text" name="t1" id="t1" value="{[$t1|date_format:'%Y-%m-%d']}" size="10"> 至
		<input type="text" name="t2" id="t2" value="{[$t2|date_format:'%Y-%m-%d']}" size="10"></td>
		<td align="right">发送数量：</td>
		<td><select name='num'>
      {[html_options options=$num_option selected=10]}
      </select></td>
	</tr>
	<tr>
      <td></td>
      <td colspan="3"><input type="button" value="查 找" name="button_filter" id="button_filter">
      <input type="reset" value="复 位" name="B2"></td>
    </tr>
	<tr>
		<td align="right">结果过滤：</td>
		<td><input type="text" name="search" value="" id="search" size="16"/></td>
		<td align="right"></td>
		<td></td>
	</tr>
  </table>
  <table id="priv_add">
	<tr>
		<td align="center" width="45%">未选邮件地址</td>
		<td width="10%"></td>
		<td align="center" width="45%">已选邮件地址</td>
	</tr>
	<tr>
	    <td height="255px" align="center">
		<select multiple="multiple" name="all[]" id="all" style="height:100%;width:100%;">
		</select>
		</td>
		<td align="center" height="180px"><div id="rl">
			<a href="#" id="addT" class="button" >&raquo;</a><br>
			<a href="#" id="addAllT" class="button" >&raquo;&raquo;</a><br>
			<a href="#" id="removeT" class="button">&laquo;</a><br>
			<a href="#" id="removeAllT" class="button">&laquo;&laquo;</a></div>
		</td>
		<td height="255px" align="center">
		<select multiple="multiple" name="to[]" id="to" style="height:100%;width:100%;">
		</select>
		</td>
	</tr>
</table>
</fieldset>

<fieldset>
<legend>邮件信息</legend>
  <table>
	<tr>
		<td width="20%" align="right">标题：</td>
		<td width="80%"><input type="text" name="subject" id="subject" size="40" value="{[$result.subject]}"></td>
	</tr>
	<tr>
		<td align="right">正文：</td>
		<td><textarea rows="8" name="content" id="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
	<tr id="label_date">
		<td align="right">发送时间：</td>
		<td><input type="text" name="date" id="date" size="12" value="{[$date|date_format:'%Y-%m-%d']}">
		<input type="text" name="time" id="time" size="8" value="{[$date|date_format:'%H:%M']}"></td>
	</tr>
	<tr>
		<td align="right">立即发送：</td>
		<td><select name='send' id='send'>
		{[html_options options=$send_option selected=1]}
		</select></td>
	</tr>	
  </table>
</fieldset>
</form>

<script type="text/javascript" src="js/customer/enquiry/batch2.js?r={[$smarty.now]}"></script>